package com.zking.ssm.mapper;

import com.zking.ssm.model.SysRoler;
import com.zking.ssm.model.SysUser;

import java.util.List;
import java.util.Set;

public interface SysRolerMapper {
    int deleteByPrimaryKey(Long roleId);

    int insert(SysRoler record);

    int insertSelective(SysRoler record);

    SysRoler selectByPrimaryKey(Long roleId);

    int updateByPrimaryKeySelective(SysRoler record);

    int updateByPrimaryKey(SysRoler record);

    List<SysRoler> selectAll(SysRoler sysRoler);

    //查询用户拥有的角色
    SysRoler selectRoleId(SysRoler sysRoler);


    //查询用户未拥有的角色
    List<SysRoler> noSelectRole(SysRoler sysRoler);




}